package com.lww.feature.test.design.pattern.command;

/**
 * @author: liweiwei
 * @date: 2019/1/23
 */
public class Invoker {
    private Command command = null;

    public Invoker(Command command) {
        this.command = command;
    }

    public void action() {
        command.execute();
    }
}
